MailPoet\Segments\WP A

Total Complexity 52
Dependencies 21
Dependents 8
Total lines 381
Lines of code 256
Logical lines of code 149
Comment lines 45
Methods 14
Properties 11

Methods 14

Method Rating Maintainability Complexity Lines of code
handleCreatingOrUpdatingSubscriber()
C
34 28 83
createOrUpdateSubscriber()
S
55 5 21
insertSubscribers()
S
50 3 30
synchronizeUser()
S
59 4 13
updateSubscribersEmails()
S
56 2 18
removeUpdatedSubscribersWithInvalidEmail()
S
62 2 12
synchronizeUsers()
S
57 1 18
__construct()
S
60 1 13
updateFirstNames()
S
64 1 11
updateLastNames()
S
64 1 11
deleteSubscriber()
S
77 1 4
updateFirstNameIfMissing()
S
65 1 10
insertUsersToSegment()
S
65 1 9
removeOrphanedSubscribers()
S
82 1 3